package libs.yzx.zaza.acts3;

import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

import libs.yzx.zaza.R;
import libs.yzx.zaza.util.ActiveProgressView;

/**
 * Created by Administrator on 2016/10/19
 */

public class ProgressBarActivity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_progress);

        final ActiveProgressView pv = (ActiveProgressView) findViewById(R.id.pv);
        pv.setMax(1000);
        pv.setColor(Color.GRAY);
        pv.setBgColor(Color.argb(255,0xab,0xcd,0xef));
        pv.controlAnim(true);


    }

}
